﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Parts_TopToolbar : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack || Session["DanhMucs"] == null)
        {
            NhaKinhDoanhDataContext db = new NhaKinhDoanhDataContext();
            Session["DanhMucs"] = db.DanhMucs.ToList<DanhMuc>();
        }
    }
}